/...
+    /**
+     * 数据权限
+     */
+    interface DataPermission {
+
+        /**
+         * 数据权限模块
+         */
+        @Getter
+        @AllArgsConstructor
+        enum Module {
+            ;
+            private String businessCode;
+
+            private String moduleName;
+
+            public static List<Map<String, Object>> valueList () {
+                List<Map<String, Object>> list = new ArrayList<>();
+                for (Module module: Module.values()) {
+                    list.add(new HashMap<String, Object>(){{
+                        this.put("businessCode", module.getBusinessCode());
+                        this.put("moduleName", module.getModuleName());
+                    }});
+                }
+                return list;
+            }
+        }
+
+        /**
+         * 数据权限类型
+         */
+        @Getter
+        @AllArgsConstructor
+        enum Type {
+            ALL((short)0,"全部", new Module[]{}),
+            ;
+
+            // 类型编码
+            private short code;
+
+            // 类型备注
+            private String remark;
+
+            // 所属模块，为空时表示所有模块可用
+            private Module[] modules;
+
+            public static List<Map<String, Object>> valueList () {
+                List<Map<String, Object>> list = new ArrayList<>();
+                for (Type type: Type.values()) {
+                    List<String> modules = new ArrayList<>();
+                    for (Module module : type.getModules()) {
+                        modules.add(module.getBusinessCode());
+                    }
+                    list.add(new HashMap<String, Object>(){{
+                        this.put("code", type.getCode());
+                        this.put("remark", type.getRemark());
+                        this.put("modules", modules);
+                    }});
+                }
+                return list;
+            }
+        }
+    }
+
    /**
     * 跟踪日志异常等级
     */
.../
